package com.miyuan.wm.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.miyuan.wm.pojo.RecordInOutEntity;
import com.miyuan.wm.request.QueryRecordInOutRequestVo;
import com.miyuan.wm.response.QueryRecordInOutResponseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName RecordInOutMapper
 * @Description 货物出入库记录表数据库操作
 */
@Mapper
public interface RecordInOutMapper extends BaseMapper<RecordInOutEntity> {

    /**
     * @Description 查询出入库记录列表
     * @param:
     * @return:
     */
    List<QueryRecordInOutResponseVo> listRecordInOut(Page<RecordInOutEntity> page, @Param(value = "dto") QueryRecordInOutRequestVo dto);

}
